emacs.git
10 years ago; Another minor fix in misc-lang.el
Eli Zaretskii [Mon, 5 Oct 2015 19:24:25 +0000 (22:24 +0300)]
; Another minor fix in misc-lang.el

10 years agoFix composition-function-table for Arabic and Syriac
Eli Zaretskii [Mon, 5 Oct 2015 19:19:39 +0000 (22:19 +0300)]
Fix composition-function-table for Arabic and Syriac

* lisp/language/misc-lang.el (composition-function-table): Fix
entries for Arabic and Syriac.

10 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
K. Handa [Mon, 5 Oct 2015 13:56:26 +0000 (22:56 +0900)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

10 years agoAdd first unit tests for auth-source.el
Damien Cassou [Fri, 2 Oct 2015 21:31:23 +0000 (23:31 +0200)]
Add first unit tests for auth-source.el

* test/automated/auth-source-tests.el: New file.

10 years agoRemove redundant redisplay code
Eli Zaretskii [Mon, 5 Oct 2015 07:22:08 +0000 (10:22 +0300)]
Remove redundant redisplay code

* src/xdisp.c (redisplay_internal, try_cursor_movement)
(try_window_reusing_current_matrix, try_window_id): Remove
redundant restrictions on redisplay optimizations based on the
frame's 'redisplay' flag.  See
http://osdir.com/ml/general/2015-10/msg02110.html for the relevant
discussions.

10 years ago* src/xdisp.c (windows_or_buffers_changed): Improve docstring
Stefan Monnier [Mon, 5 Oct 2015 02:30:27 +0000 (22:30 -0400)]
* src/xdisp.c (windows_or_buffers_changed): Improve docstring

10 years agoUpdate tutorials/TUTORIAL.cn
Xue Fuqiao [Mon, 5 Oct 2015 00:58:28 +0000 (08:58 +0800)]
Update tutorials/TUTORIAL.cn

* etc/tutorials/TUTORIAL.cn: Improve translation.

10 years ago* src/macfont.m (macfont_encode_char, syms_of_macfont): Remove unused vars.
YAMAMOTO Mitsuharu [Mon, 5 Oct 2015 00:16:21 +0000 (09:16 +0900)]
* src/macfont.m (macfont_encode_char, syms_of_macfont): Remove unused vars.

10 years agoPull in version numbers from rst.el upstream release.
Stefan Merten [Sun, 4 Oct 2015 20:23:46 +0000 (22:23 +0200)]
Pull in version numbers from rst.el upstream release.

* lisp/textmodes/rst.el (rst-cvs-header, rst-svn-rev)
(rst-svn-timestamp, rst-official-version)
(rst-official-cvs-rev, rst-package-emacs-version-alist):
Update version numbers.

10 years ago* test/automated/coding-tests.el: New file.
Eli Zaretskii [Sun, 4 Oct 2015 13:07:23 +0000 (16:07 +0300)]
* test/automated/coding-tests.el: New file.

10 years agoImprove XEmacs compatibility of Tramp
Michael Albinus [Sun, 4 Oct 2015 11:00:33 +0000 (13:00 +0200)]
Improve XEmacs compatibility of Tramp

* lisp/net/tramp-compat.el (directory-listing-before-filename-regexp):
Declare if it doesn't exist.
(file-remote-p): Remove defalias, which was necessary for GNU Emacs 21.
(redisplay): Make it an alias if it doesn't exist.

* lisp/net/tramp.el (tramp-get-remote-tmpdir): Don't use
`file-remote-p' (due to XEmacs compatibility).

* lisp/net/trampver.el (locate-dominating-file)
(tramp-compat-replace-regexp-in-string): Autoload.
(tramp-repository-get-version): Do not dupe byte-compiler.

10 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 4 Oct 2015 10:23:45 +0000 (06:23 -0400)]
; Auto-commit of ChangeLog files.

10 years ago; Restore some of the recent deletions in fileio.c
Eli Zaretskii [Sun, 4 Oct 2015 09:23:45 +0000 (12:23 +0300)]
; Restore some of the recent deletions in fileio.c

* src/fileio.c (Finsert_file_contents, choose_write_coding_system):
Restore some of the recently deleted calls to CHECK_CODING_SYSTEM.

10 years agoshr: fix too long lines in rendered buffers (Bug#21012)
Eli Zaretskii [Thu, 9 Jul 2015 02:38:29 +0000 (05:38 +0300)]
shr: fix too long lines in rendered buffers (Bug#21012)

Co-authored-by: Michael Heerdegen <michael_heerdegen@web.de>
* lisp/net/shr.el (shr-insert-document, shr-fill-text):
Correct calculation of available width.
(shr-find-fill-point): Don't overflow window edge if shr-kinsoku-shorten
is nil.

10 years ago; Add some comments
Xue Fuqiao [Sun, 4 Oct 2015 06:42:45 +0000 (14:42 +0800)]
; Add some comments

10 years agoRestore blank line before next section, erroneously erased in my previous commit
Vincent Belaïche [Sun, 4 Oct 2015 06:16:35 +0000 (08:16 +0200)]
Restore blank line before next section, erroneously erased in my previous commit

* etc/compilation.txt (symbol ant): add an additional trailing blank line to this section, so that there are two of them immediately before the next section

10 years agoSupport MSW filename style for ant compilation error regexp
Vincent Belaïche [Sun, 4 Oct 2015 05:57:28 +0000 (07:57 +0200)]
Support MSW filename style for ant compilation error regexp

* etc/compilation.txt (symbol ant):
* lisp/progmodes/compile.el (compilation-error-regexp-alist-alist): Support MSW filename style

10 years ago* nt/INSTALL: Minor spelling and quote fixes.
Paul Eggert [Sun, 4 Oct 2015 00:37:59 +0000 (17:37 -0700)]
* nt/INSTALL: Minor spelling and quote fixes.

10 years ago* lisp/ibuffer.el: Fix docstring length (Bug#21541).
Paul Eggert [Sun, 4 Oct 2015 00:25:01 +0000 (17:25 -0700)]
* lisp/ibuffer.el: Fix docstring length (Bug#21541).

10 years agoMaintain ordering of JSON object keys by default
Simen Heggestøyl [Sat, 3 Oct 2015 21:52:36 +0000 (23:52 +0200)]
Maintain ordering of JSON object keys by default

* lisp/json.el (json-object-type): Mention order handling in doc-string.
(json--plist-reverse): New utility function.
(json-read-object): Maintain ordering for alists and plists.
(json-pretty-print): Ensure that ordering is maintained.

* test/automated/json-tests.el (test-json-plist-reverse): New test for
`json--plist-reverse'.
(json-read-simple-alist): Update test to accommodate for changes in
`json-read-object'.

* etc/NEWS: Document the new behavior of the pretty printing functions.

10 years ago * src/coding.c (complement_process_encoding_system): Revert last
Andreas Schwab [Sat, 3 Oct 2015 18:14:40 +0000 (20:14 +0200)]
* src/coding.c (complement_process_encoding_system): Revert last
change.

10 years agoAdd entry for Ulf Jasper.
Ulf Jasper [Sat, 3 Oct 2015 16:21:07 +0000 (18:21 +0200)]
Add entry for Ulf Jasper.

10 years agoDoc fix for `defmacro'
Xue Fuqiao [Sat, 3 Oct 2015 13:24:09 +0000 (21:24 +0800)]
Doc fix for `defmacro'

* doc/lispref/objects.texi (Macro Type): `defmacro' is a macro now.

10 years agoMore validatation of coding systems
Andreas Schwab [Sat, 3 Oct 2015 12:21:48 +0000 (14:21 +0200)]
More validatation of coding systems

* src/fileio.c (Finsert_file_contents): Remove redundant
coding-system check.
(choose_write_coding_system): Likewise.
* src/coding.c (complement_process_encoding_system): Check
argument for valid coding system.

10 years agoAvoid crashes in coding_inherit_eol_type
Eli Zaretskii [Sat, 3 Oct 2015 12:39:17 +0000 (15:39 +0300)]
Avoid crashes in coding_inherit_eol_type

* src/coding.c (coding_inherit_eol_type): Check the validity of
the arguments.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
(Bug#21602)

10 years agoMore validatation of coding system in 'write-region'
Eli Zaretskii [Sat, 3 Oct 2015 11:49:16 +0000 (14:49 +0300)]
More validatation of coding system in 'write-region'

* src/coding.c (choose_write_coding_system): More validation of
coding-system from various sources.  Suggested by Andreas Schwab
<schwab@linux-m68k.org>.  (Bug#21602)

10 years agoAvoid crashes due to invalid coding-system
Eli Zaretskii [Sat, 3 Oct 2015 10:44:44 +0000 (13:44 +0300)]
Avoid crashes due to invalid coding-system

* src/fileio.c (choose_write_coding_system)
(Finsert_file_contents): Check validity of coding-system-for-write
and coding-system-for-read bound by the caller.  (Bug#21602)

10 years ago; Tramp: Suppress compiler warnings.
Michael Albinus [Sat, 3 Oct 2015 08:09:41 +0000 (10:09 +0200)]
; Tramp: Suppress compiler warnings.

10 years agoAdapt to new prettify-symbols-unprettify-at-point default
Tassilo Horn [Sat, 3 Oct 2015 05:49:08 +0000 (07:49 +0200)]
Adapt to new prettify-symbols-unprettify-at-point default

* etc/NEWS: Mention that unprettication of symbol at point is off by
default.

10 years agoRevert my two recent process.c changes
Tassilo Horn [Sat, 3 Oct 2015 04:01:42 +0000 (06:01 +0200)]
Revert my two recent process.c changes

Revert "Improve last commit to process.c" and "Remove callback-handled
channels from Available set" because they did not fix bug#21313.

This reverts commits bfa1aa8e2bdaf14adbbf1e9e824051d3f740694c and
27f871907cc24f33a7d12ac3a4ab71a88f0bc554..

10 years ago* prolog.el: Update and extend operator table
Markus Triska [Fri, 2 Oct 2015 20:47:06 +0000 (16:47 -0400)]
* prolog.el: Update and extend operator table

(prolog-smie-grammar): Add multifile, public etc.

10 years agoAllow autogen even when Git is not installed
Paul Eggert [Fri, 2 Oct 2015 19:40:57 +0000 (12:40 -0700)]
Allow autogen even when Git is not installed

* autogen.sh: Test ‘git status’ before trying to use Git.

10 years ago* lisp/vc/vc-git.el (vc-git-region-history): Handle local changes
Stefan Monnier [Fri, 2 Oct 2015 19:24:23 +0000 (15:24 -0400)]
* lisp/vc/vc-git.el (vc-git-region-history): Handle local changes

Adjust lto/lfrom when we have uncommitted changes.

10 years agoFix problems found by clang 3.5.0
Paul Eggert [Fri, 2 Oct 2015 15:34:15 +0000 (08:34 -0700)]
Fix problems found by clang 3.5.0

* src/cmds.c (Fdelete_char): Don’t assume XINT returns int.
* src/font.c (font_parse_family_registry):
Use &"str"[X] instead of "str"+X, to pacify clang -Wstring-plus-int.

10 years ago* nt/INSTALL: Update instructions for running autogen.sh
Eli Zaretskii [Fri, 2 Oct 2015 08:55:55 +0000 (11:55 +0300)]
* nt/INSTALL: Update instructions for running autogen.sh

10 years ago* nt/INSTALL: Point to ezwinports for libXpm binaries.
Eli Zaretskii [Fri, 2 Oct 2015 08:09:21 +0000 (11:09 +0300)]
* nt/INSTALL: Point to ezwinports for libXpm binaries.

10 years agoFix winner in cl-lib not loaded case
Daniel Colascione [Fri, 2 Oct 2015 05:10:53 +0000 (22:10 -0700)]
Fix winner in cl-lib not loaded case

* lisp/winner.el (winner-change-fun): Don't use cl-lib functions
without requiring CL

10 years agoFix a few problems with directed quotes
Paul Eggert [Fri, 2 Oct 2015 04:42:53 +0000 (21:42 -0700)]
Fix a few problems with directed quotes

This is in response to a problem report by Kaushal Modi in:
http://bugs.gnu.org/21588#25
* lisp/cedet/mode-local.el (describe-mode-local-overload):
* lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header):
* lisp/info-xref.el (info-xref-check-all-custom):
* lisp/mail/emacsbug.el (report-emacs-bug-hook):
Prefer directed to undirected single quotes in diagnostics.

10 years agoRevert "Attempt to fix slow redisplay caused by last changes"
Eli Zaretskii [Thu, 1 Oct 2015 18:03:10 +0000 (21:03 +0300)]
Revert "Attempt to fix slow redisplay caused by last changes"

* src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
(try_cursor_movement): Don't relax requirements for redisplay
optimizations for the selected frame.  (Bug#21597)

This reverts commit c4c1fb97727ff52bcfa83ad5ed94a64a93d12e59.

10 years agoFix slow redisplay when daemon frame exists
Eli Zaretskii [Thu, 1 Oct 2015 17:21:28 +0000 (20:21 +0300)]
Fix slow redisplay when daemon frame exists

* src/xdisp.c (redisplay_internal): Don't consider daemon frames
when looking for frames that need to be redisplayed.  (Bug#21597)

10 years agoAttempt to fix slow redisplay caused by last changes
Eli Zaretskii [Thu, 1 Oct 2015 16:56:46 +0000 (19:56 +0300)]
Attempt to fix slow redisplay caused by last changes

* src/xdisp.c (try_window_id, try_window_reusing_current_matrix)
(try_cursor_movement): Relax requirements for redisplay
optimizations for the selected frame.  (Bug#21597)

10 years agoImprove doc strings in dired.c
Stephen Leake [Thu, 1 Oct 2015 14:15:26 +0000 (09:15 -0500)]
Improve doc strings in dired.c

* src/dired.c (Ffile_name_completion, Ffile_name_all_completions):
Improve doc string.

10 years agoSet default base-size in minibuffer-completion-help
Stephen Leake [Thu, 1 Oct 2015 14:14:23 +0000 (09:14 -0500)]
Set default base-size in minibuffer-completion-help

* lisp/minibuffer.el (minibuffer-completion-help): Set default base-size,
in case completion table does not set it.

10 years ago; * lisp/progmodes/gdb-mi.el (gdb-mi-decode): Improve last change.
Eli Zaretskii [Thu, 1 Oct 2015 11:52:03 +0000 (14:52 +0300)]
; * lisp/progmodes/gdb-mi.el (gdb-mi-decode): Improve last change.

10 years agoFix GUD display of GDB output with non-ASCII text
Eli Zaretskii [Thu, 1 Oct 2015 11:40:10 +0000 (14:40 +0300)]
Fix GUD display of GDB output with non-ASCII text

* lisp/progmodes/gdb-mi.el (gdb-mi-decode-strings): New defcustom.
(gdb-mi-decode): New function.
(gud-gdbmi-marker-filter): If gdb-mi-decode-strings is non-nil,
decode octal escapes in GDB output.  (Bug#21572)

10 years ago* nt/INSTALL: Document where to find XPM support files
Eli Zaretskii [Thu, 1 Oct 2015 10:52:11 +0000 (13:52 +0300)]
* nt/INSTALL: Document where to find XPM support files

10 years ago; Auto-commit of loaddefs files.
Glenn Morris [Thu, 1 Oct 2015 10:18:29 +0000 (06:18 -0400)]
; Auto-commit of loaddefs files.

10 years agoUn- and re-prettification are not exclusive
Tassilo Horn [Thu, 1 Oct 2015 06:07:40 +0000 (08:07 +0200)]
Un- and re-prettification are not exclusive

* lisp/progmodes/prog-mode.el (prettify-symbols--post-command-hook):
Re-apply prettification to previous symbol also when unprettifying next
one.

10 years agoDon't unprettify symbol at point by default
Tassilo Horn [Thu, 1 Oct 2015 05:54:45 +0000 (07:54 +0200)]
Don't unprettify symbol at point by default

* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
Default to disabled (nil).

10 years ago* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):
Artur Malabarba [Thu, 1 Oct 2015 00:38:20 +0000 (01:38 +0100)]
* lisp/progmodes/prog-mode.el (prettify-symbols-unprettify-at-point):

Support unprettifying when point is after a symbol.

* etc/NEWS: Document `prettify-symbols-unprettify-at-point'

10 years agoAvoid assertion violations in push_prefix_prop
Eli Zaretskii [Wed, 30 Sep 2015 19:43:42 +0000 (22:43 +0300)]
Avoid assertion violations in push_prefix_prop

* src/xdisp.c (push_prefix_prop): Avoid assertion violations when
a line that has a line-prefix defined starts with an image.  (Bug#21428)

10 years ago; Revert inadvertent premature commit.
Eli Zaretskii [Wed, 30 Sep 2015 19:42:59 +0000 (22:42 +0300)]
; Revert inadvertent premature commit.

10 years agoDisable some display optimizations when frames need redisplay
Eli Zaretskii [Wed, 30 Sep 2015 19:32:14 +0000 (22:32 +0300)]
Disable some display optimizations when frames need redisplay

These optimizations were previously disabled by the
windows_or_buffers_changed flag, which now is not set
when only some frames need to be redrawn.
* src/xdisp.c (redisplay_internal): Redisplay any frame whose
'redisplay' flag is set.
(try_window_reusing_current_matrix, try_window_id)
(try_cursor_movement): Disable these optimizations when the
frame's 'redisplay' flag is set.

10 years agoDon't modify buffer by unprettification
Tassilo Horn [Wed, 30 Sep 2015 18:15:22 +0000 (20:15 +0200)]
Don't modify buffer by unprettification

* lisp/progmodes/prog-mode.el (prettify-symbols--compose-symbol):
(prettify-symbols--post-command-hook, prettify-symbols-mode): Don't
modify buffer when setting/removing custom prettify-symbols-start/end
text properties.  Add them to font-lock-extra-managed-props, too.

10 years agoTry to avoid redisplaying all frames when creating a new one
Stefan Monnier [Wed, 30 Sep 2015 14:00:13 +0000 (10:00 -0400)]
Try to avoid redisplaying all frames when creating a new one

* src/xfns.c (x_set_menu_bar_lines, x_change_tool_bar_height):
* src/xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face)
(Finternal_set_lisp_face_attribute, update_face_from_frame_parameter):
* src/frame.c (x_set_screen_gamma): Set the specific frame's
`redisplay' bit rather than windows_or_buffers_changed.

* src/window.c (apply_window_adjustment): Remove redundant setting of
windows_or_buffers_changed.

* src/xdisp.c (redisplay_internal): Set the specific frame's
`redisplay' bit rather than update_mode_lines in response to
cursor_type_changed.
(syms_of_xdisp): Use hash-tables for redisplay_*_cause tables.
(AINC): Adjust accordingly.

10 years ago; Yet another tweak of pos-visible-in-window-p doc string
Eli Zaretskii [Wed, 30 Sep 2015 13:51:48 +0000 (16:51 +0300)]
; Yet another tweak of pos-visible-in-window-p doc string

10 years ago; Minor updates in admin/MAINTAINERS
Michael Albinus [Wed, 30 Sep 2015 13:28:41 +0000 (15:28 +0200)]
; Minor updates in admin/MAINTAINERS

10 years agoImplement unprettification of symbol at point
Tassilo Horn [Tue, 29 Sep 2015 19:34:18 +0000 (21:34 +0200)]
Implement unprettification of symbol at point

* lisp/progmodes/prog-mode.el: Implement feature for unprettifying the
symbol at point.
(prettify-symbols--current-symbol-bounds): New variable.
(prettify-symbols--post-command-hook): New function.
(prettify-symbols-unprettify-at-point): New defcustom.
(prettify-symbols-mode): Use it.
(prettify-symbols--compose-symbol): Use them.

10 years ago* src/macfont.m (mac_font_descriptor_supports_languages): Regard "zh" as synonym...
YAMAMOTO Mitsuharu [Wed, 30 Sep 2015 10:05:27 +0000 (19:05 +0900)]
* src/macfont.m (mac_font_descriptor_supports_languages): Regard "zh" as synonym of "zh-Hans".

10 years agoWork around crash when displaying etc/HELLO on OS X 10.11
YAMAMOTO Mitsuharu [Wed, 30 Sep 2015 09:56:30 +0000 (18:56 +0900)]
Work around crash when displaying etc/HELLO on OS X 10.11

* src/macfont.m (mac_font_get_weight)
(mac_font_descriptor_get_adjusted_weight): New functions.
(macfont_store_descriptor_attributes): Adjust weight.

10 years ago; Clarify docs of pos-visible-in-window-p some more
Eli Zaretskii [Wed, 30 Sep 2015 09:46:17 +0000 (12:46 +0300)]
; Clarify docs of pos-visible-in-window-p some more

10 years ago* src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.
YAMAMOTO Mitsuharu [Wed, 30 Sep 2015 09:43:25 +0000 (18:43 +0900)]
* src/macfont.m: Fix compilation with USE_CT_GLYPH_INFO.

10 years ago* lisp/arc-mode.el (archive-rar-summarize): Better alignment of the columns.
Nicolas Petton [Wed, 30 Sep 2015 08:12:26 +0000 (10:12 +0200)]
* lisp/arc-mode.el (archive-rar-summarize): Better alignment of the columns.

10 years agoUse unar and lsar to handle RAR archives in arc-mode
Nicolas Petton [Wed, 30 Sep 2015 08:04:09 +0000 (10:04 +0200)]
Use unar and lsar to handle RAR archives in arc-mode

* lisp/arc-mode.el (archive-rar-extract, archive-extract-by-file): Rely
on unar and lsar instead of unrar-free for RAR archives (Bug#17663).

10 years ago; * Add admin/MAINTAINERS entries
Vibhav Pant [Wed, 30 Sep 2015 07:48:17 +0000 (13:18 +0530)]
; * Add admin/MAINTAINERS entries

* Add entries for Vibhav Pant.

* Add entries for files in lisp/net that don't have a maintainer.

10 years agoClarify :create in auth-source's docs
Wieland Hoffmann [Tue, 1 Sep 2015 16:28:30 +0000 (18:28 +0200)]
Clarify :create in auth-source's docs

* auth-source.el (auth-source-search): Clarify :create's meaning.

Copyright-paperwork-exempt: yes

10 years agoAvoid empty -path arguments in rgrep
Phil Sainty [Wed, 30 Sep 2015 07:39:21 +0000 (10:39 +0300)]
Avoid empty -path arguments in rgrep

* lisp/progmodes/grep.el (rgrep-default-command): Remove nil from
the list produced according to grep-find-ignored-directories,
before passing it to Find/Grep invocation.  (Bug#21548)

10 years agoClarify documentation of pos-visible-in-window-p
Eli Zaretskii [Wed, 30 Sep 2015 07:19:41 +0000 (10:19 +0300)]
Clarify documentation of pos-visible-in-window-p

* src/window.c (Fpos_visible_in_window_p): Clarify the meaning of
t for POS.  See
http://lists.gnu.org/archive/html/emacs-devel/2015-09/msg01040.html
for the original report.

* doc/lispref/windows.texi (Window Start and End): Clarify the
meaning of t for the POSITION argument of pos-visible-in-window-p.

10 years ago* lisp/progmodes/prolog.el: Fix various indentation cases
Stefan Monnier [Wed, 30 Sep 2015 03:28:32 +0000 (23:28 -0400)]
* lisp/progmodes/prolog.el: Fix various indentation cases

(prolog-operator-chars): New const (add \\).
(prolog-smie-forward-token, prolog-smie-backward-token): Use it.
(prolog-smie-rules): Add rules according to bug#21526.

10 years ago; * admin/MAINTAINERS: Add entries for Dmitry Gutov
Dmitry Gutov [Wed, 30 Sep 2015 02:17:30 +0000 (05:17 +0300)]
; * admin/MAINTAINERS: Add entries for Dmitry Gutov

Author:

10 years ago* lisp/progmodes/sh-script.el: Old "dumb" continued line indent
Stefan Monnier [Wed, 30 Sep 2015 01:43:07 +0000 (21:43 -0400)]
* lisp/progmodes/sh-script.el: Old "dumb" continued line indent

(sh-indent-after-continuation): Add new value `always' (bug#17620)
(sh-smie-sh-rules): Remove old handling of continued lines.
(sh-smie--indent-continuation): New function.
(sh-set-shell): Use it.

10 years ago* lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun
Stefan Monnier [Tue, 29 Sep 2015 19:13:44 +0000 (15:13 -0400)]
* lisp/progmodes/octave.el: Use grammar more; Handle enumeration fun

Remove redundant :group keyword args.
(octave-begin-keywords, octave-else-keywords, octave-end-keywords):
Remove variables.
(octave-operator-table, octave-smie-bnf-table): Use let-when-compile to
turn them into compile-time variables.
Auto-generate the "foo ... end" rules from the "foo ... endfoo" rules.
Add rules for break, continue, return, global, and persistent.
Refine the rule for "until".
(octave-smie--funcall-p, octave-smie--end-index-p)
(octave-smie--in-parens-p): New functions.
(octave-smie-backward-token, octave-smie-forward-token): Use them to
distinguish the "enumeration" function and the "end" index from
their corresponding keywords.
(octave--block-offset-keywords): New constant.
(octave-smie-rules): Use it.  Adjust rules for new global/persistent parsing.
(octave-reserved-words): Redefine using octave-smie-grammar.
(octave-font-lock-keywords): Use octave-smie--funcall-p and
octave-smie--end-index-p.

10 years ago* lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*
Stefan Monnier [Tue, 29 Sep 2015 19:08:55 +0000 (15:08 -0400)]
* lisp/emacs-lisp/lisp-mode.el (let-when-compile): Work like let*

10 years agont/INSTALL: Remove references to GTK site
Eli Zaretskii [Tue, 29 Sep 2015 16:34:25 +0000 (19:34 +0300)]
nt/INSTALL: Remove references to GTK site

That site no longer offers Windows downloads.

10 years ago; ChangeLog fix
Glenn Morris [Tue, 29 Sep 2015 16:31:41 +0000 (12:31 -0400)]
; ChangeLog fix

10 years ago* nt/INSTALL: Add instructions for installing Git.
Eli Zaretskii [Tue, 29 Sep 2015 07:08:29 +0000 (10:08 +0300)]
* nt/INSTALL: Add instructions for installing Git.

10 years ago* net/shr.el (shr-colorize-region): Allow 88-color tty to use colors.
Katsumi Yamaoka [Tue, 29 Sep 2015 06:30:48 +0000 (06:30 +0000)]
* net/shr.el (shr-colorize-region): Allow 88-color tty to use colors.
Suggested by Eli Zaretskii.

10 years ago* net/shr.el (shr-colorize-region):
Katsumi Yamaoka [Tue, 29 Sep 2015 02:01:50 +0000 (02:01 +0000)]
* net/shr.el (shr-colorize-region):
Don't do it on a system not supporting 256 above colors (bug#21557).

10 years ago; Remove extraneous "coding: utf-8" specifications in Elisp files
Dmitry Gutov [Mon, 28 Sep 2015 22:39:14 +0000 (01:39 +0300)]
; Remove extraneous "coding: utf-8" specifications in Elisp files

10 years agoRevert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"
Dmitry Gutov [Mon, 28 Sep 2015 19:41:47 +0000 (22:41 +0300)]
Revert "Don't rely on defaults in decoding UTF-8 encoded Lisp files"

This reverts commit db828f62f6f17414fbbc3206dac123dc73dd6055.

10 years ago; * CONTRIBUTE: Tweak the "Non-ASCII characters in Emacs files" section
Dmitry Gutov [Mon, 28 Sep 2015 19:03:22 +0000 (22:03 +0300)]
; * CONTRIBUTE: Tweak the "Non-ASCII characters in Emacs files" section

10 years agoAdd documentation for seq.el
Nicolas Petton [Mon, 28 Sep 2015 20:18:26 +0000 (22:18 +0200)]
Add documentation for seq.el

* doc/lispref/sequences.texi: Add documentation regarding extending
seq.el, as well as missing documentation for seq-elt, seq-length, seq-p,
seq-do and seq-map.

10 years agoBetter documentation for seq-some
Nicolas Petton [Mon, 28 Sep 2015 19:11:05 +0000 (21:11 +0200)]
Better documentation for seq-some

* doc/lispref/sequences.texi:
* lisp/emacs-lisp/seq.el: Update the documentation of seq-some to
guarantee that the returned value is the first non-nil value that
resulted from applying the predicate.

10 years ago* lisp/arc-mode.el: Sharp-quote function arguments.
Nicolas Petton [Sun, 27 Sep 2015 15:59:35 +0000 (17:59 +0200)]
* lisp/arc-mode.el: Sharp-quote function arguments.

10 years agoAvoid redisplay error in ediff-regions-wordwise
Eli Zaretskii [Mon, 28 Sep 2015 15:53:26 +0000 (18:53 +0300)]
Avoid redisplay error in ediff-regions-wordwise

* lisp/vc/ediff-util.el
(ediff-clone-buffer-for-region-comparison): Make sure the mark is
set before activating it.  (Bug#21567)

10 years ago; Remove unnecessary resetting of inhibit_free_realized_faces
Eli Zaretskii [Mon, 28 Sep 2015 13:48:52 +0000 (16:48 +0300)]
; Remove unnecessary resetting of inhibit_free_realized_faces

10 years ago; Fix last commit
Eli Zaretskii [Mon, 28 Sep 2015 13:00:13 +0000 (16:00 +0300)]
; Fix last commit

10 years agoAnother attempt to fix crashes due to prematurely freed faces
Eli Zaretskii [Mon, 28 Sep 2015 12:50:29 +0000 (15:50 +0300)]
Another attempt to fix crashes due to prematurely freed faces

* src/xdisp.c (redisplay_internal): Inhibit freeing of realized
faces for as long as we might have desired matrices that reference
those faces.  (Bug#21428)

10 years agoAdd auctex development list email address
Tassilo Horn [Mon, 28 Sep 2015 08:59:21 +0000 (10:59 +0200)]
Add auctex development list email address

10 years agoAdd admin/MAINTAINERS entries
Tassilo Horn [Mon, 28 Sep 2015 07:37:33 +0000 (09:37 +0200)]
Add admin/MAINTAINERS entries

* admin/MAINTAINERS: Add entries for AUCTeX team and myself.

10 years agoImprove wrapfig package support and caption parsing
(tiny change) Arash Esbati [Mon, 28 Sep 2015 06:30:01 +0000 (08:30 +0200)]
Improve wrapfig package support and caption parsing

* lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Correct
description string and add wraptable environment.
(reftex-default-context-regexps): Improve caption regexp.

Copyright-paperwork-exempt: yes

10 years agoRespect value of frame_resize_pixelwise when handling fullscreen state.
Anders Lindgren [Mon, 28 Sep 2015 06:11:14 +0000 (08:11 +0200)]
Respect value of frame_resize_pixelwise when handling fullscreen state.

* src/nsterm.m (handleFS): Respect frame_resize_pixelwise when
setting size increments.

10 years ago* src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.
Michael Albinus [Sun, 27 Sep 2015 18:16:06 +0000 (20:16 +0200)]
* src/gfilenotify.c (Fgfile_add_watch): Cleanup temporary variable.

10 years ago; Auto-commit of ChangeLog files.
Glenn Morris [Sun, 27 Sep 2015 10:24:03 +0000 (06:24 -0400)]
; Auto-commit of ChangeLog files.

10 years ago; Mention non-ASCII encoding issues in CONTRIBUTE
Eli Zaretskii [Sun, 27 Sep 2015 08:30:35 +0000 (11:30 +0300)]
; Mention non-ASCII encoding issues in CONTRIBUTE

* CONTRIBUTE: Document recommendations for encoding non-ASCII
characters in Emacs sources.

10 years agoMerge branch 'master' of git.sv.gnu.org:/srv/git/emacs
K. Handa [Sun, 27 Sep 2015 08:06:12 +0000 (17:06 +0900)]
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs

10 years agoAdd prettify-symbols-alist for js-mode
Simen Heggestøyl [Sun, 27 Sep 2015 08:04:09 +0000 (10:04 +0200)]
Add prettify-symbols-alist for js-mode

* lisp/progmodes/js.el (js--prettify-symbols-alist): New defconst.
(js-mode): Use it.

10 years ago; * CONTRIBUTE: Mention admin/MAINTAINERS.
Eli Zaretskii [Sun, 27 Sep 2015 07:56:30 +0000 (10:56 +0300)]
; * CONTRIBUTE: Mention admin/MAINTAINERS.

10 years ago* nt/subdirs.el: File deleted (no longer used).
Eli Zaretskii [Sun, 27 Sep 2015 07:50:46 +0000 (10:50 +0300)]
* nt/subdirs.el: File deleted (no longer used).

10 years ago; * admin/MAINTAINERS: Minor copyedits
Eli Zaretskii [Sun, 27 Sep 2015 07:48:44 +0000 (10:48 +0300)]
; * admin/MAINTAINERS: Minor copyedits